package com.lantosec.hmrp.modules.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.monitor.entity.SatisfactionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MonitorSatisfactionMapper extends BaseMapper<SatisfactionEntity> {
    List<SatisfactionEntity> getMonthData(String month);

    List<SatisfactionEntity> getYearData(String year);

    List<SatisfactionEntity> getMonthDataDetails(@Param("month") String month, @Param("orgId") String orgId);

    List<SatisfactionEntity> getYearDataDetails(@Param("year") String year, @Param("orgId") String orgId);

    List<SatisfactionEntity> getWindowMonthData(String month);

    List<SatisfactionEntity> getWindowYearData(String year);

    List<SatisfactionEntity> getWindowMonthDataDetails(@Param("month") String month, @Param("userId") String userId);

    List<SatisfactionEntity> getWindowYearDataDetails(@Param("year") String year, @Param("userId") String userId);
}
